<!-- $Id: shipping_area_list.htm 14216 2008-03-10 02:27:21Z testyang $ -->
{if $full_page}
{include file="pageheader.htm"}
{insert_scripts files="../js/utils.js,listtable.js"}
<!-- start shipping area list -->
<form method="post" action="shipping_area.php" name="listForm" onsubmit="return confirm('{$lang.remove_confirm}')">
<div class="list-div" id="listDiv">
{/if}

<table cellspacing='1' cellpadding='3' id='listTable'>
  <tr>
    <th><input type="checkbox" onclick="listTable.selectAll(this, 'areas')" />{$lang.record_id}</th>
    <th>区域名称</th>
    <th>所辖地区</th>
    <th>操作</th>
  </tr>

  {foreach from=$area item=area}
  <tr>
    <td>
      <input type="checkbox" name="areas[]" value="{$area.shipping_area_id}" />{$area.area_id}
    </td>
    <td class="first-cell">
      {$area.area_name|escape:"html"}
    </td>
    <td>{$area.region.region|escape:"html"}</td>
    <td align="center">
      <a href="area.php?act=edit&id={$area.area_id}">编辑</a> | <a href="javascript:;" onclick="listTable.remove({$area.area_id}, '你确认要删除该区域', 'remove_area')">移除</a>
    </td>
  </tr>
  {/foreach}
</table>

{if $full_page}
</div>
</form>
<!-- end shipping area list -->
{literal}
<script language="JavaScript">
//删除区域
function area_delete(id){







}


</script>
{/literal}
{include file="pagefooter.htm"}
{/if}